package com.ruoyi.sys.garden.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务热线对象 tb_service_hotline
 * 
 * @author jinsuo
 * @date 2022-05-24
 */
public class TbServiceHotline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long shId;

    /** 热线名称 */
    @Excel(name = "热线名称")
    private String shName;

    /** 联系电话（可通过u_id获取） */
    @Excel(name = "联系电话", readConverterExp = "可=通过u_id获取")
    private String shPhone;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shDate;

    /** 人员编号（关联人员表） */
    @Excel(name = "人员编号", readConverterExp = "关=联人员表")
    private Long uId;

    public void setShId(Long shId) 
    {
        this.shId = shId;
    }

    public Long getShId() 
    {
        return shId;
    }
    public void setShName(String shName) 
    {
        this.shName = shName;
    }

    public String getShName() 
    {
        return shName;
    }
    public void setShPhone(String shPhone) 
    {
        this.shPhone = shPhone;
    }

    public String getShPhone() 
    {
        return shPhone;
    }
    public void setShDate(Date shDate) 
    {
        this.shDate = shDate;
    }

    public Date getShDate() 
    {
        return shDate;
    }
    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shId", getShId())
            .append("shName", getShName())
            .append("shPhone", getShPhone())
            .append("shDate", getShDate())
            .append("uId", getuId())
            .toString();
    }
}
